#!/usr/bin/env python
# -*- coding: utf-8 -*-

import	sys
import	os
import	os.path
cwd = os.getcwd()
libpath = "%s%s..%s..%slib" % (cwd, os.sep, os.sep, os.sep)
sys.path.append(libpath)

import lottee

a = (1,2,3,4,5,6,7)
ac = lottee.calcAC( a )
print 'AC for ',a,' is ',ac

b = (1,2,3,4,5,6)
ac = lottee.calcAC( b )
print 'AC for ',b,' is ',ac

c = (8, 11, 19, 23, 26, 33)
ac = lottee.calcAC( c )
print 'AC for ',c,' is ',ac

c = (2, 4, 7, 11, 15, 17)
ac = lottee.calcAC( c )
print 'AC for ',c,' is ',ac

# 2008096 
rcs = [ (8, 9, 12, 17, 26, 31), (8, 9, 17, 18, 26, 31), (8, 9, 12, 17, 27, 31), (8, 9, 17, 18, 27, 31) ]
# 2008099
rcs = [ (5, 7, 12, 23, 29, 31), (5, 7, 12, 24, 29, 31),  (5, 7, 14, 23, 29, 31),  (5, 7, 14, 24, 29, 31),  ]
# 2008102
rcs = [ (1, 5, 8, 12, 14, 28), (5, 20, 21, 24, 28, 29), (3, 7, 15, 22, 24, 29), (3, 7, 10, 22, 24, 29), (3, 7, 15, 23, 24, 29), (3, 7, 15, 22, 23,29) ]

#2008-09-14
rcs = [ (9, 12, 15, 21, 28, 31), (9, 12, 16, 21, 28, 31), (9, 12, 15, 21, 28, 33), (9, 12, 16, 21, 28, 33) ]
for c in rcs :
	ac = lottee.calcAC( c )
	print 'AC for ',c,' is ',ac



